package com.euond.accv.mdm.domain;

import java.util.*;
import java.math.BigDecimal;
import javax.persistence.*;
import java.io.Serializable;

import org.hibernate.annotations.DynamicInsert;
import com.alibaba.fastjson.annotation.JSONField;
import com.euond.common.domain.AbstractEntity;


@Entity
@Table(name="mdm_store")
@DynamicInsert //该注解会根据属性非空动态生成insert语句
public class MdmStore extends AbstractEntity<String> implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 门店编号
	 */
	@Id
    @Column(name="store_no")
    private String storeNo;
    
	/**
	 * 门店名称
	 */
    @Column(name="store_name")
    private String storeName;
    
	/**
	 * 
	 */
    @Column(name="store_type")
    private String storeType;
    
	/**
	 * 通道数量
	 */
    @Column(name="channel_num")
    private Integer channelNum;
    
    /**
     * 客户编号
     */
    @Column(name="customer_no")
    private String customerNo;
    
    @Column(name="c_store_no")
    private String cStoreNo;
	
	/**
	 * 设备数量
	 */
    @Column(name="device_num")
    private Integer deviceNum;
    
	/**
	 * 经度
	 */
    @Column(name="longitude")
    private String longitude;
    
	/**
	 * 
	 */
    @Column(name="latitude")
    private String latitude;
    
	/**
	 * 设备颜色	（码表 device_color）
	 */
    @Column(name="device_color")
    private String deviceColor;
    
	/**
	 * 所属集团	（mdm_group）
	 */
    @Column(name="group_no")
    private String groupNo;
    
	/**
	 * 省份
	 */
    @Column(name="province")
    private String province;
    
	/**
	 * 城市
	 */
    @Column(name="city")
    private String city;
    
	/**
	 * 县
	 */
    @Column(name="county")
    private String county;
    
	/**
	 * 街道
	 */
    @Column(name="street")
    private String street;
    
	/**
	 * 地址
	 */
    @Column(name="address")
    private String address;
    
	/**
	 * 联系人
	 */
    @Column(name="contacter")
    private String contacter;
    
	/**
	 * 联系电话
	 */
    @Column(name="phone_no")
    private String phoneNo;
    
	/**
	 * 邮箱
	 */
    @Column(name="email")
    private String email;
    
	/**
	 * 排列序号
	 */
    @Column(name="order_no")
    private Integer orderNo;
    
	/**
	 * 状态
	 */
    @Column(name="status")
    private String status;
    
	/**
	 * 备注
	 */
    @Column(name="remarks")
    private String remarks;
    
	/**
	 * 建档人
	 */
    @Column(name="creator")
    private String creator;
    
	/**
	 * 建档时间
	 */
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@Column(name="create_time")
    private Date createTime;
    
	/**
	 * 修改人
	 */
    @Column(name="modifier")
    private String modifier;
    
	/**
	 * 修改时间
	 */
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@Column(name="modify_time")
    private Date modifyTime;
    
    
    public String getStoreNo(){
    	return this.storeNo;
    }
    
    public void setStoreNo(String storeNo){
    	this.storeNo = storeNo;
    }
    public String getStoreName(){
    	return this.storeName;
    }
    
    public void setStoreName(String storeName){
    	this.storeName = storeName;
    }
    public String getStoreType(){
    	return this.storeType;
    }
    
    public void setStoreType(String storeType){
    	this.storeType = storeType;
    }
    public Integer getChannelNum(){
    	return this.channelNum;
    }
    
    public void setChannelNum(Integer channelNum){
    	this.channelNum = channelNum;
    }
    public Integer getDeviceNum(){
    	return this.deviceNum;
    }
    
    public void setDeviceNum(Integer deviceNum){
    	this.deviceNum = deviceNum;
    }
    public String getLongitude(){
    	return this.longitude;
    }
    
    public void setLongitude(String longitude){
    	this.longitude = longitude;
    }
    public String getLatitude(){
    	return this.latitude;
    }
    
    public void setLatitude(String latitude){
    	this.latitude = latitude;
    }
    public String getDeviceColor(){
    	return this.deviceColor;
    }
    
    public void setDeviceColor(String deviceColor){
    	this.deviceColor = deviceColor;
    }
    public String getGroupNo(){
    	return this.groupNo;
    }
    
    public void setGroupNo(String groupNo){
    	this.groupNo = groupNo;
    }
    public String getProvince(){
    	return this.province;
    }
    
    public void setProvince(String province){
    	this.province = province;
    }
    public String getCity(){
    	return this.city;
    }
    
    public void setCity(String city){
    	this.city = city;
    }
    public String getCounty(){
    	return this.county;
    }
    
    public void setCounty(String county){
    	this.county = county;
    }
    public String getStreet(){
    	return this.street;
    }
    
    public void setStreet(String street){
    	this.street = street;
    }
    public String getAddress(){
    	return this.address;
    }
    
    public void setAddress(String address){
    	this.address = address;
    }
    public String getContacter(){
    	return this.contacter;
    }
    
    public void setContacter(String contacter){
    	this.contacter = contacter;
    }
    public String getPhoneNo(){
    	return this.phoneNo;
    }
    
    public void setPhoneNo(String phoneNo){
    	this.phoneNo = phoneNo;
    }
    public String getEmail(){
    	return this.email;
    }
    
    public void setEmail(String email){
    	this.email = email;
    }
    public Integer getOrderNo(){
    	return this.orderNo;
    }
    
    public void setOrderNo(Integer orderNo){
    	this.orderNo = orderNo;
    }
    public String getStatus(){
    	return this.status;
    }
    
    public void setStatus(String status){
    	this.status = status;
    }
    public String getRemarks(){
    	return this.remarks;
    }
    
    public void setRemarks(String remarks){
    	this.remarks = remarks;
    }
    public String getCreator(){
    	return this.creator;
    }
    
    public void setCreator(String creator){
    	this.creator = creator;
    }
    public Date getCreateTime(){
    	return this.createTime;
    }
    
    public void setCreateTime(Date createTime){
    	this.createTime = createTime;
    }
    public String getModifier(){
    	return this.modifier;
    }
    
    public void setModifier(String modifier){
    	this.modifier = modifier;
    }
    public Date getModifyTime(){
    	return this.modifyTime;
    }
    
    public void setModifyTime(Date modifyTime){
    	this.modifyTime = modifyTime;
    }
	public String getCustomerNo() {
		return customerNo;
	}

	public void setCustomerNo(String customerNo) {
		this.customerNo = customerNo;
	}
	
	public String getcStoreNo() {
		return cStoreNo;
	}

	public void setcStoreNo(String cStoreNo) {
		this.cStoreNo = cStoreNo;
	}
    @Override
	public String getId() {
		// TODO Auto-generated method stub
		return this.storeNo;
	}
}
